package com.activenetwork.smlite.page;

import com.activenetwork.custom.uielement.UIElement;
import com.activenetwork.custom.uielement.decorate.InJson;
import com.activenetwork.smlite.page.generic.PageObject;

public class HeaderPage implements PageObject {
	
	@InJson
	private UIElement logout;
	
	@InJson
	private UIElement loggedInUser;
	
	public void logout(){
		logout.click();
	}
	
	public String getLoggedInUser(){
		return loggedInUser.getText().trim();
	}
	
	
}
